{if $isMember}
{language text="you_are_already_a_member_of_our_gro"}
<ul>
	<li><a href="{url link='public.groups.view' id=$aGroupData.id}">{language text="return_to_group_profile"}</a></li>
	<li><a href="{url link='public.groups}">{language text="return_to_group_index"}</a></li>
</ul>
{else}
	{if $isClosed}
	{language text="sorry_this_group_is_closed"}<br />{language text="to_be_a_member_of_this_group_you_ha"}
	<ul>
		<li><a href="{url link='public.account.messages.compose' user=$aGroupData.user}">{language text="ask_group_leader_for_invite"}</a></li>
		<li><a href="{url link='public.groups'}">{language text="return_to_group_index"}</a></li>
	</ul>
	{else}

				{language text="you_have_just_joined_the_group"}:
				<div style="padding:10px;">
					{$aGroupData.title|escape}
					<table>
					<tr>
						<td style="vertical-align:top;font-size:8pt;">
						{img max_width="200" max_height="200" alt="" src="`$sImageUrl`thumb/`$aGroupData.galid`.jpg" src_def="`$sImageUrl``$aGroupData.galid`.jpg" src_def2="design/pic/noimage.jpg"  border="0"}
						</td><td style="vertical-align:top;font-size:9pt;" class="color">
							<ul>
							<li><a href="{url link='public.groups.view' id=$aGroupData.id}">{language text="group_index"}</a></li>
							<li>
							<a href="{url link='public.groups.gallery' id=$aGroupData.id}">{language text="group_gallery_947"}</a>
							<ul><li><a href="{url link='public.groups.gallery.upload' id=$aGroupData.id}">{language text="upload_a_picture"}</a></li></ul>

							</li>
							<li><a href="{url link='public.groups.forum' id=$aGroupData.id}">{language text="group_forum_177"}</a>
							<ul><li><a href="{url link='public.groups.forum.topic' id=$aGroupData.id}">{language text="post_a_topic"}</a></li></ul>
							</li>
							</ul>
						</td>
					</tr>
					</table>
				</div>

	{/if}
{/if}